package org.cangkuguanli.wangruiqi_bookstore.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.cangkuguanli.wangruiqi_bookstore.bean.Category;

import java.util.List;

@Mapper
public interface CategoryMapper {
    //获取分类数据
    @Select("select * from category")
    List<Category> find();


}
